package com.mbc.rmt.entities;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;

import com.mbc.common.param.CriteriaParams;

@SuppressWarnings("serial")
public class DefinePaymentTypeDetail extends CriteriaParams implements Serializable {

	private Integer srNo;
	private Long detailId;
	private Long invoiceId;
	private String invoiceCode;
	private Long receiptId;
	private Long receiptDetailId;
	private String receiptNo;
	private Long addCodeId;
	private String addCodeCode;
	private Long addCodeDetailId;
	private String sender;
	private Long currencyId;
	private String currencyCode;
	private Double extrafees;
	private Double amount;
	private String receiver;
	private String nrc;
	private String address;
	private Long typeId;
	private String typeCode;
	private Long agentId;
	private String agentCode;
	private String slip_No;
	private Date createdDate;
	private Long createdBy;
	private Date modifiedDate;
	private Long modifiedBy;
	
	private Date invoiceDate;
	
	private String fromReceiptNo;
	private String toReceiptNo;
	
	private String myaamount;
	
	private String paidStatus;
	
	private boolean isTyping;
	
	private Double paidamount;
	
	private Byte tranStatus;
	private Byte returnstatus;
	
	private Boolean chkop;
	private Boolean chkwp;
	private Boolean sp;
	private Boolean ap;
	private String stick;
	
	private ArrayList<DefinePaymentTypeDetail> list;
	
	public DefinePaymentTypeDetail() {
		clearProperties();
	}
	
	public void clearProperties() {
		setSrNo(0);
		setDetailId(null);
		setInvoiceId(null);
		setInvoiceCode("");
		setReceiptId(null);
		setReceiptDetailId(null);
		setReceiptNo("");
		setAddCodeId(null);
		setAddCodeCode("");
		setSender("");
		setCurrencyId(null);
		setCurrencyCode("");
		setAmount(0.0);
		setReceiver("");
		setAddress("");
		setTypeId(null);
		setTypeCode("");
		setAgentId(null);
		setAgentCode("");
		setSlip_No("");
		setCreatedDate(new Date());
		setCreatedBy(null);
		setModifiedDate(new Date());
		setCreatedBy(null);
		
		setInvoiceDate(new Date());
		
		setFromReceiptNo("");
		setToReceiptNo("");
		
		setPaidStatus("");
		
		setTyping(false);
		
		setTranStatus(null);
		
		setList(new ArrayList<DefinePaymentTypeDetail>());
		paidamount = null;
		returnstatus = null;
		
		setAddCodeDetailId(null);
		setNrc("");
		setExtrafees(null);
		chkop = null;
		chkwp = null;
		sp = null;
		stick = "";
	}

	public Integer getSrNo() {
		return srNo;
	}

	public void setSrNo(Integer srNo) {
		this.srNo = srNo;
	}

	public Long getReceiptId() {
		return receiptId;
	}

	public void setReceiptId(Long receiptId) {
		this.receiptId = receiptId;
	}

	public String getReceiptNo() {
		return receiptNo;
	}

	public void setReceiptNo(String receiptNo) {
		this.receiptNo = receiptNo;
	}

	public Long getAddCodeId() {
		return addCodeId;
	}

	public void setAddCodeId(Long addCodeId) {
		this.addCodeId = addCodeId;
	}

	public String getAddCodeCode() {
		return addCodeCode;
	}

	public void setAddCodeCode(String addCodeCode) {
		this.addCodeCode = addCodeCode;
	}

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public Long getCurrencyId() {
		return currencyId;
	}

	public void setCurrencyId(Long currencyId) {
		this.currencyId = currencyId;
	}

	public String getCurrencyCode() {
		return currencyCode;
	}

	public void setCurrencyCode(String currencyCode) {
		this.currencyCode = currencyCode;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Long getTypeId() {
		return typeId;
	}

	public void setTypeId(Long typeId) {
		this.typeId = typeId;
	}

	public String getTypeCode() {
		return typeCode;
	}

	public void setTypeCode(String typeCode) {
		this.typeCode = typeCode;
	}

	public Long getDetailId() {
		return detailId;
	}

	public void setDetailId(Long detailId) {
		this.detailId = detailId;
	}

	public Long getInvoiceId() {
		return invoiceId;
	}

	public void setInvoiceId(Long invoiceId) {
		this.invoiceId = invoiceId;
	}

	public String getInvoiceCode() {
		return invoiceCode;
	}

	public void setInvoiceCode(String invoiceCode) {
		this.invoiceCode = invoiceCode;
	}

	public Long getAgentId() {
		return agentId;
	}

	public void setAgentId(Long agentId) {
		this.agentId = agentId;
	}

	public String getAgentCode() {
		return agentCode;
	}

	public void setAgentCode(String agentCode) {
		this.agentCode = agentCode;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public Long getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(Long createdBy) {
		this.createdBy = createdBy;
	}

	public Date getModifiedDate() {
		return modifiedDate;
	}

	public void setModifiedDate(Date modifiedDate) {
		this.modifiedDate = modifiedDate;
	}

	public Long getModifiedBy() {
		return modifiedBy;
	}

	public void setModifiedBy(Long modifiedBy) {
		this.modifiedBy = modifiedBy;
	}

	public Long getReceiptDetailId() {
		return receiptDetailId;
	}

	public void setReceiptDetailId(Long receiptDetailId) {
		this.receiptDetailId = receiptDetailId;
	}

	public String getFromReceiptNo() {
		return fromReceiptNo;
	}

	public void setFromReceiptNo(String fromReceiptNo) {
		this.fromReceiptNo = fromReceiptNo;
	}

	public String getToReceiptNo() {
		return toReceiptNo;
	}

	public void setToReceiptNo(String toReceiptNo) {
		this.toReceiptNo = toReceiptNo;
	}

	public String getSlip_No() {
		return slip_No;
	}

	public void setSlip_No(String slip_No) {
		this.slip_No = slip_No;
	}

	public Date getInvoiceDate() {
		return invoiceDate;
	}

	public void setInvoiceDate(Date invoiceDate) {
		this.invoiceDate = invoiceDate;
	}

	public String getPaidStatus() {
		return paidStatus;
	}

	public void setPaidStatus(String paidStatus) {
		this.paidStatus = paidStatus;
	}

	public ArrayList<DefinePaymentTypeDetail> getList() {
		return list;
	}

	public void setList(ArrayList<DefinePaymentTypeDetail> list) {
		this.list = list;
	}

	public boolean isTyping() {
		return isTyping;
	}

	public void setTyping(boolean isTyping) {
		this.isTyping = isTyping;
	}

	public Double getPaidamount() {
		return paidamount;
	}

	public void setPaidamount(Double paidamount) {
		this.paidamount = paidamount;
	}

	public Byte getTranStatus() {
		return tranStatus;
	}

	public void setTranStatus(Byte tranStatus) {
		this.tranStatus = tranStatus;
	}

	public Byte getReturnstatus() {
		return returnstatus;
	}

	public void setReturnstatus(Byte returnstatus) {
		this.returnstatus = returnstatus;
	}

	public Long getAddCodeDetailId() {
		return addCodeDetailId;
	}

	public void setAddCodeDetailId(Long addCodeDetailId) {
		this.addCodeDetailId = addCodeDetailId;
	}

	public Double getExtrafees() {
		return extrafees;
	}

	public void setExtrafees(Double extrafees) {
		this.extrafees = extrafees;
	}

	public String getNrc() {
		return nrc;
	}

	public void setNrc(String nrc) {
		this.nrc = nrc;
	}

	public String getMyaamount() {
		return myaamount;
	}

	public void setMyaamount(String myaamount) {
		this.myaamount = myaamount;
	}

	public Boolean getChkop() {
		return chkop;
	}

	public void setChkop(Boolean chkop) {
		this.chkop = chkop;
	}

	public Boolean getChkwp() {
		return chkwp;
	}

	public void setChkwp(Boolean chkwp) {
		this.chkwp = chkwp;
	}

	public Boolean getSp() {
		return sp;
	}

	public void setSp(Boolean sp) {
		this.sp = sp;
	}

	public Boolean getAp() {
		return ap;
	}

	public void setAp(Boolean ap) {
		this.ap = ap;
	}

	public String getStick() {
		return stick;
	}

	public void setStick(String stick) {
		this.stick = stick;
	}
	
}
